package com.pinda.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.pinda.service.IPdTaskTransportService;
import com.pinda.service.IPdTransportTripsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 车次信息表 前端控制器
 * </p>
 *
 * @author author
 * @since 2023-06-25
 */
@RestController
@RequestMapping("/pd-transport-trips")
public class PdTransportTripsController {

    @Autowired
    private IPdTransportTripsService pdTransportTripsService;
    @GetMapping("/queryTransportTripsByTransportLineId/{TransportLineId}")
    public List queryTransportTripsByTransportLineId(@PathVariable("TransportLineId") String TransportLineId){



        return this.pdTransportTripsService.queryTransportTripsByTransportLineId(TransportLineId);
    }
}
